package Message.Game
{
    import Framework.Serialize.*;
    import Message.Public.*;

    public class SPlayerCreditUpdate extends Object
    {
        public var type:EPlayerCredit;
        public var value:int;
        public var updateDt:Date;

        public function SPlayerCreditUpdate()
        {
            
        }

        public function __write(param1:SerializeStream) : void
        {
            this.type.__write(param1);
            param1.writeInt(this.value);
            param1.writeDate(this.updateDt);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.type = EPlayerCredit.__read(param1);
            this.value = param1.readInt();
            this.updateDt = param1.readDate();
            
        }

    }
}
